Skip to content

Update module github.com/golangci/golangci-lint/v2 to v2.11.4#50401

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
mainfrom
renovate/github.com-golangci-golangci-lint-v2-2.x
May 7, 2026
Merged

Update module github.com/golangci/golangci-lint/v2 to v2.11.4#50401
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
mainfrom
renovate/github.com-golangci-golangci-lint-v2-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 5, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/golangci/golangci-lint/v2 v2.9.0v2.11.4 age confidence

Release Notes

golangci/golangci-lint (github.com/golangci/golangci-lint/v2)

v2.11.4

Compare Source

Released on 2026-03-22

  1. Linters bug fixes
    • govet-modernize: from 0.42.0 to 0.43.0
    • noctx: from 0.5.0 to 0.5.1
    • sqlclosecheck: from 0.5.1 to 0.6.0

v2.11.3

Compare Source

Released on 2026-03-10

  1. Linters bug fixes

v2.11.2

Compare Source

Released on 2026-03-07

  1. Fixes
    • fmt: fix error when using the fmt command with explicit paths.

v2.11.1

Compare Source

Released on 2026-03-06

Due to an error related to AUR, some artifacts of the v2.11.0 release have not been published.

This release contains the same things as v2.11.0.

v2.11.0

Compare Source

Released on 2026-03-06

  1. Linters new features or changes
    • errcheck: from 1.9.0 to 1.10.0 (exclude crypto/rand.Read by default)
    • gosec: from 2.23.0 to 2.24.6 (new rules: G113, G118, G119, G120, G121, G122, G123, G408, G707)
    • noctx: from 0.4.0 to 0.5.0 (new detection: httptest.NewRequestWithContext)
    • prealloc: from 1.0.2 to 1.1.0
    • revive: from 1.14.0 to 1.15.0 (⚠️ Breaking change: package-related checks moved from var-naming to a new rule package-naming)
  2. Linters bug fixes
    • gocognit: from 1.2.0 to 1.2.1
    • gosec: from 2.24.6 to 2.24.7
    • unqueryvet: from 1.5.3 to 1.5.4

v2.10.1

Compare Source

Released on 2026-02-17

  1. Fixes
    • buildssa panic

v2.10.0

Compare Source

Released on 2026-02-17

  1. Linters new features or changes
    • ginkgolinter: from 0.22.0 to 0.23.0
    • gosec: from 2.22.11 to 2.23.0 (new rules: G117, G602, G701, G702, G703, G704, G705, G706)
    • staticcheck: from 0.6.1 to 0.7.0
  2. Linters bug fixes
    • godoclint: from 0.11.1 to 0.11.2

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added changelog/no-changelog No changelog entry needed dependencies PRs that bump a dependency dependencies-go PRs that bump a go dependency qa/no-code-change No code change in Agent code requiring validation labels May 5, 2026
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 5, 2026

ℹ️ Artifact update notice

File name: internal/tools/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 13 additional dependencies were updated

Details:

Package Change
github.com/MirrexOne/unqueryvet v1.5.3 -> v1.5.4
github.com/alexkohler/prealloc v1.0.2 -> v1.1.0
github.com/godoc-lint/godoc-lint v0.11.1 -> v0.11.2
github.com/kisielk/errcheck v1.9.0 -> v1.10.0
github.com/mgechev/revive v1.14.0 -> v1.15.0
github.com/nunnatsa/ginkgolinter v0.22.0 -> v0.23.0
github.com/onsi/ginkgo/v2 v2.28.0 -> v2.28.1
github.com/ryanrolds/sqlclosecheck v0.5.1 -> v0.6.0
github.com/securego/gosec/v2 v2.22.11 -> v2.24.8-0.20260309165252-619ce2117e08
github.com/sonatard/noctx v0.4.0 -> v0.5.1
github.com/uudashr/gocognit v1.2.0 -> v1.2.1
golang.org/x/exp/typeparams v0.0.0-20251125195548-87e1e737ad39 -> v0.0.0-20260209203927-2842357ff358
honnef.co/go/tools v0.6.1 -> v0.7.0

@dd-octo-sts dd-octo-sts Bot added the internal Identify a non-fork PR label May 5, 2026
@github-actions github-actions Bot added the short review PR is simple enough to be reviewed quickly label May 5, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

github.com/golangci/golangci-lint/v2 v2.11.4/go.mod h1:ODQDCASMA3VqfZYIbbQLpTRTzV7O/vjmIRF6u8NyFwI=

P1 Badge Add module checksum for golangci-lint v2.11.4

This update bumps github.com/golangci/golangci-lint/v2 in internal/tools/go.mod, but internal/tools/go.sum only adds the v2.11.4/go.mod hash and not the module hash (v2.11.4 h1:...), while the old v2.9.0 module hash remains. In clean environments, go install of github.com/golangci/golangci-lint/v2/cmd/golangci-lint (used by tasks/install_tasks.py) can then fail with a missing go.sum entry under readonly module semantics, breaking tool installation/lint jobs.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@dd-prapprover
Copy link
Copy Markdown

dd-prapprover Bot commented May 5, 2026

PRApprover will approve and merge this PR, FAQ, #dx-source-code-management

🛠️ PRApproval Status

  • ✅ PR is eligible for auto-approval by rule datadog-agent-renovate - 2026-05-07T14:00:35Z
  • ⬜ CI tests passed
  • ⬜ Approved
  • ⬜ Merge Started
  • ⬜ Merged

➡️ Current phase: CI tests failed. Please fix the failing tests to continue.

@github-actions github-actions Bot added medium review PR review might take time and removed short review PR is simple enough to be reviewed quickly labels May 5, 2026
@datadog-prod-us1-6
Copy link
Copy Markdown
Contributor

datadog-prod-us1-6 Bot commented May 5, 2026

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 50.14% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: b3f18b3 | Docs | Datadog PR Page | Give us feedback!

@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 5, 2026

Files inventory check summary

File checks results against ancestor 18ff3c19:

Results for datadog-agent_7.80.0~devel.git.572.b3f18b3.pipeline.112000409-1_amd64.deb:

No change detected

@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 5, 2026

Static quality checks

✅ Please find below the results from static quality gates
Comparison made with ancestor 18ff3c1
📊 Static Quality Gates Dashboard
🔗 SQG Job

32 successful checks with minimal change (< 2 KiB)
Quality gate Current Size
agent_deb_amd64 742.594 MiB
agent_deb_amd64_fips 700.621 MiB
agent_heroku_amd64 309.245 MiB
agent_rpm_amd64 742.578 MiB
agent_rpm_amd64_fips 700.605 MiB
agent_rpm_arm64 720.490 MiB
agent_rpm_arm64_fips 681.601 MiB
agent_suse_amd64 742.578 MiB
agent_suse_amd64_fips 700.605 MiB
agent_suse_arm64 720.490 MiB
agent_suse_arm64_fips 681.601 MiB
docker_agent_amd64 802.782 MiB
docker_agent_arm64 805.527 MiB
docker_agent_jmx_amd64 993.701 MiB
docker_agent_jmx_arm64 985.225 MiB
docker_cluster_agent_amd64 206.658 MiB
docker_cluster_agent_arm64 220.697 MiB
docker_cws_instrumentation_amd64 7.142 MiB
docker_cws_instrumentation_arm64 6.689 MiB
docker_host_profiler_amd64 302.168 MiB
docker_host_profiler_arm64 313.663 MiB
docker_dogstatsd_amd64 39.508 MiB
docker_dogstatsd_arm64 37.691 MiB
dogstatsd_deb_amd64 30.161 MiB
dogstatsd_deb_arm64 28.291 MiB
dogstatsd_rpm_amd64 30.161 MiB
dogstatsd_suse_amd64 30.161 MiB
iot_agent_deb_amd64 44.517 MiB
iot_agent_deb_arm64 41.494 MiB
iot_agent_deb_armhf 42.230 MiB
iot_agent_rpm_amd64 44.518 MiB
iot_agent_suse_amd64 44.518 MiB

@cit-pr-commenter-54b7da
Copy link
Copy Markdown

cit-pr-commenter-54b7da Bot commented May 5, 2026

Regression Detector

Regression Detector Results

Metrics dashboard
Target profiles
Run ID: 2717555a-787e-412a-9461-80ce7ebba162

Baseline: 39fa4d5
Comparison: 43df774
Diff

Optimization Goals: ✅ No significant changes detected

Experiments ignored for regressions

Regressions in experiments with settings containing erratic: true are ignored.

perf experiment goal Δ mean % Δ mean % CI trials links
docker_containers_cpu % cpu utilization -0.23 [-3.13, +2.67] 1 Logs

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI trials links
tcp_syslog_to_blackhole ingress throughput +2.58 [+2.36, +2.80] 1 Logs
quality_gate_logs % cpu utilization +1.67 [+0.67, +2.67] 1 Logs bounds checks dashboard
ddot_logs memory utilization +0.87 [+0.81, +0.94] 1 Logs
quality_gate_metrics_logs memory utilization +0.67 [+0.43, +0.92] 1 Logs bounds checks dashboard
ddot_metrics memory utilization +0.58 [+0.38, +0.78] 1 Logs
quality_gate_security_no_fs_load memory utilization +0.27 [+0.16, +0.37] 1 Logs bounds checks dashboard
ddot_metrics_sum_cumulative memory utilization +0.26 [+0.10, +0.42] 1 Logs
quality_gate_idle_all_features memory utilization +0.12 [+0.08, +0.16] 1 Logs bounds checks dashboard
quality_gate_security_idle memory utilization +0.10 [+0.03, +0.17] 1 Logs bounds checks dashboard
file_to_blackhole_1000ms_latency egress throughput +0.02 [-0.42, +0.45] 1 Logs
tcp_dd_logs_filter_exclude ingress throughput +0.01 [-0.09, +0.10] 1 Logs
uds_dogstatsd_to_api_v3 ingress throughput +0.00 [-0.19, +0.20] 1 Logs
uds_dogstatsd_to_api ingress throughput +0.00 [-0.20, +0.20] 1 Logs
otlp_ingest_metrics memory utilization -0.00 [-0.15, +0.15] 1 Logs
file_to_blackhole_100ms_latency egress throughput -0.01 [-0.14, +0.13] 1 Logs
file_to_blackhole_500ms_latency egress throughput -0.01 [-0.42, +0.40] 1 Logs
file_to_blackhole_0ms_latency egress throughput -0.04 [-0.58, +0.50] 1 Logs
quality_gate_idle memory utilization -0.18 [-0.23, -0.12] 1 Logs bounds checks dashboard
docker_containers_cpu % cpu utilization -0.23 [-3.13, +2.67] 1 Logs
otlp_ingest_logs memory utilization -0.24 [-0.34, -0.14] 1 Logs
docker_containers_memory memory utilization -0.26 [-0.36, -0.15] 1 Logs
uds_dogstatsd_20mb_12k_contexts_20_senders memory utilization -0.26 [-0.30, -0.21] 1 Logs
quality_gate_security_mean_fs_load memory utilization -0.26 [-0.30, -0.22] 1 Logs bounds checks dashboard
ddot_metrics_sum_delta memory utilization -0.28 [-0.46, -0.09] 1 Logs
ddot_metrics_sum_cumulativetodelta_exporter memory utilization -0.71 [-0.95, -0.48] 1 Logs

Bounds Checks: ✅ Passed

perf experiment bounds_check_name replicates_passed observed_value links
docker_containers_cpu simple_check_run 10/10 707 ≥ 26
docker_containers_memory memory_usage 10/10 243.82MiB ≤ 370MiB
docker_containers_memory simple_check_run 10/10 679 ≥ 26
file_to_blackhole_0ms_latency memory_usage 10/10 0.16GiB ≤ 1.20GiB
file_to_blackhole_0ms_latency missed_bytes 10/10 0B = 0B
file_to_blackhole_1000ms_latency memory_usage 10/10 0.20GiB ≤ 1.20GiB
file_to_blackhole_1000ms_latency missed_bytes 10/10 0B = 0B
file_to_blackhole_100ms_latency memory_usage 10/10 0.17GiB ≤ 1.20GiB
file_to_blackhole_100ms_latency missed_bytes 10/10 0B = 0B
file_to_blackhole_500ms_latency memory_usage 10/10 0.18GiB ≤ 1.20GiB
file_to_blackhole_500ms_latency missed_bytes 10/10 0B = 0B
quality_gate_idle intake_connections 10/10 3 ≤ 4 bounds checks dashboard
quality_gate_idle memory_usage 10/10 141.42MiB ≤ 147MiB bounds checks dashboard
quality_gate_idle_all_features intake_connections 10/10 3 ≤ 4 bounds checks dashboard
quality_gate_idle_all_features memory_usage 10/10 469.97MiB ≤ 495MiB bounds checks dashboard
quality_gate_logs intake_connections 10/10 4 ≤ 6 bounds checks dashboard
quality_gate_logs memory_usage 10/10 178.77MiB ≤ 195MiB bounds checks dashboard
quality_gate_logs missed_bytes 10/10 0B = 0B bounds checks dashboard
quality_gate_metrics_logs cpu_usage 10/10 344.83 ≤ 2000 bounds checks dashboard
quality_gate_metrics_logs intake_connections 10/10 4 ≤ 6 bounds checks dashboard
quality_gate_metrics_logs memory_usage 10/10 386.28MiB ≤ 430MiB bounds checks dashboard
quality_gate_metrics_logs missed_bytes 10/10 0B = 0B bounds checks dashboard
quality_gate_security_idle cpu_usage 10/10 27.61 ≤ 40 bounds checks dashboard
quality_gate_security_idle memory_usage 10/10 289.36MiB ≤ 330MiB bounds checks dashboard
quality_gate_security_mean_fs_load cpu_usage 10/10 53.88 ≤ 70 bounds checks dashboard
quality_gate_security_mean_fs_load memory_usage 10/10 265.58MiB ≤ 320MiB bounds checks dashboard
quality_gate_security_no_fs_load cpu_usage 10/10 20.52 ≤ 40 bounds checks dashboard
quality_gate_security_no_fs_load memory_usage 10/10 278.92MiB ≤ 320MiB bounds checks dashboard

Explanation

Confidence level: 90.00%
Effect size tolerance: |Δ mean %| ≥ 5.00%

Performance changes are noted in the perf column of each table:

  • ✅ = significantly better comparison variant performance
  • ❌ = significantly worse comparison variant performance
  • ➖ = no significant change in performance

A regression test is an A/B test of target performance in a repeatable rig, where "performance" is measured as "comparison variant minus baseline variant" for an optimization goal (e.g., ingress throughput). Due to intrinsic variability in measuring that goal, we can only estimate its mean value for each experiment; we report uncertainty in that value as a 90.00% confidence interval denoted "Δ mean % CI".

For each experiment, we decide whether a change in performance is a "regression" -- a change worth investigating further -- if all of the following criteria are true:

  1. Its estimated |Δ mean %| ≥ 5.00%, indicating the change is big enough to merit a closer look.

  2. Its 90.00% confidence interval "Δ mean % CI" does not contain zero, indicating that if our statistical model is accurate, there is at least a 90.00% chance there is a difference in performance between baseline and comparison variants.

  3. Its configuration does not mark it "erratic".

CI Pass/Fail Decision

Passed. All Quality Gates passed.

  • quality_gate_security_idle, bounds check cpu_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_security_idle, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_security_mean_fs_load, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_security_mean_fs_load, bounds check cpu_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_security_no_fs_load, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_security_no_fs_load, bounds check cpu_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_idle_all_features, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_idle_all_features, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_idle, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_idle, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check missed_bytes: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check cpu_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check missed_bytes: 10/10 replicas passed. Gate passed.

@renovate renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 6b22936 to 60d36dc Compare May 6, 2026 10:01
@github-actions github-actions Bot added short review PR is simple enough to be reviewed quickly medium review PR review might take time and removed medium review PR review might take time short review PR is simple enough to be reviewed quickly labels May 6, 2026
@renovate renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 80ffac9 to 63473d0 Compare May 7, 2026 08:44
@github-actions github-actions Bot added short review PR is simple enough to be reviewed quickly medium review PR review might take time and removed medium review PR review might take time short review PR is simple enough to be reviewed quickly labels May 7, 2026
@renovate renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from c06ed47 to 54d2973 Compare May 7, 2026 12:22
@github-actions github-actions Bot added short review PR is simple enough to be reviewed quickly and removed medium review PR review might take time labels May 7, 2026
This commit was created from the local commit with hash 200f553591cbc17e939932653abdfa5d660051d3.
@github-actions github-actions Bot added medium review PR review might take time and removed short review PR is simple enough to be reviewed quickly labels May 7, 2026
…1.4 enables the staticcheck SA5008 check, which flags json tags on unexported fields. The existing //nolint:govet only suppressed govet; adding //nolint:govet,staticcheck covers both linters. The json tag is intentionally there to test error behavior in AsJSON
@chouetz chouetz requested a review from a team as a code owner May 7, 2026 14:16
@chouetz chouetz requested a review from s-alad May 7, 2026 14:16
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 7, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 7, 2026

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 Bot commented May 7, 2026

View all feedbacks in Devflow UI.

2026-05-07 14:34:43 UTC ℹ️ Start processing command /merge


2026-05-07 14:34:52 UTC ℹ️ MergeQueue: waiting for PR to be ready

This pull request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
It will be added to the queue as soon as checks pass and/or get approvals. View in MergeQueue UI.
Note: if you pushed new commits since the last approval, you may need additional approval.
You can remove it from the waiting list with /remove command.


2026-05-07 15:40:09 UTC ℹ️ MergeQueue: merge request added to the queue

The expected merge time in main is approximately 2h (p90).


2026-05-07 16:25:10 UTC ℹ️ MergeQueue: This merge request was merged

@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot merged commit 43df774 into main May 7, 2026
347 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot deleted the renovate/github.com-golangci-golangci-lint-v2-2.x branch May 7, 2026 16:25
@github-actions github-actions Bot added this to the 7.80.0 milestone May 7, 2026
chouetz added a commit that referenced this pull request May 13, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [github.com/golangci/golangci-lint/v2](https://redirect.github.com/golangci/golangci-lint) | `v2.9.0` → `v2.11.4` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgolangci%2fgolangci-lint%2fv2/v2.11.4?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgolangci%2fgolangci-lint%2fv2/v2.9.0/v2.11.4?slim=true) |

---

### Release Notes

<details>
<summary>golangci/golangci-lint (github.com/golangci/golangci-lint/v2)</summary>

### [`v2.11.4`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2114)

[Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.11.3...v2.11.4)

*Released on 2026-03-22*

1. Linters bug fixes
   - `govet-modernize`: from 0.42.0 to 0.43.0
   - `noctx`: from 0.5.0 to 0.5.1
   - `sqlclosecheck`: from 0.5.1 to 0.6.0

### [`v2.11.3`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2113)

[Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.11.2...v2.11.3)

*Released on 2026-03-10*

1. Linters bug fixes
   - `gosec`: from v2.24.7 to [`619ce21`](https://redirect.github.com/golangci/golangci-lint/commit/619ce2117e08)

### [`v2.11.2`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2112)

[Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.11.1...v2.11.2)

*Released on 2026-03-07*

1. Fixes
   - `fmt`: fix error when using the `fmt` command with explicit paths.

### [`v2.11.1`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2111)

[Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.11.0...v2.11.1)

*Released on 2026-03-06*

Due to an error related to AUR, some artifacts of the v2.11.0 release have not been published.

This release contains the same things as v2.11.0.

### [`v2.11.0`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2110)

[Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.10.1...v2.11.0)

*Released on 2026-03-06*

1. Linters new features or changes
   - `errcheck`: from 1.9.0 to 1.10.0 (exclude `crypto/rand.Read` by default)
   - `gosec`: from 2.23.0 to 2.24.6 (new rules: `G113`, `G118`, `G119`, `G120`, `G121`, `G122`, `G123`, `G408`, `G707`)
   - `noctx`: from 0.4.0 to 0.5.0 (new detection: `httptest.NewRequestWithContext`)
   - `prealloc`: from 1.0.2 to 1.1.0
   - `revive`: from 1.14.0 to 1.15.0 (⚠️ Breaking change: package-related checks moved from `var-naming` to a new rule `package-naming`)
2. Linters bug fixes
   - `gocognit`: from 1.2.0 to 1.2.1
   - `gosec`: from 2.24.6 to 2.24.7
   - `unqueryvet`: from 1.5.3 to 1.5.4

### [`v2.10.1`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2101)

[Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.10.0...v2.10.1)

*Released on 2026-02-17*

1. Fixes
   - buildssa panic

### [`v2.10.0`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2100)

[Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.9.0...v2.10.0)

*Released on 2026-02-17*

1. Linters new features or changes
   - `ginkgolinter`: from 0.22.0 to 0.23.0
   - `gosec`: from 2.22.11 to 2.23.0 (new rules: `G117`, `G602`, `G701`, `G702`, `G703`, `G704`, `G705`, `G706`)
   - `staticcheck`: from 0.6.1 to 0.7.0
2. Linters bug fixes
   - `godoclint`: from 0.11.1 to 0.11.2

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (`* 0-4,22-23 * * 1-5`)
  - Only on Sunday and Saturday (`* * * * 0,6`)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/DataDog/datadog-agent).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTkuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE1OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJjaGFuZ2Vsb2cvbm8tY2hhbmdlbG9nIiwiZGVwZW5kZW5jaWVzIiwiZGVwZW5kZW5jaWVzLWdvIiwicWEvbm8tY29kZS1jaGFuZ2UiXX0=-->


Co-authored-by: chouetz <nicolas.schweitzer@datadoghq.com>
Co-authored-by: dd-octo-sts[bot] <200755185+dd-octo-sts[bot]@users.noreply.github.com>
Co-authored-by: devflow.devflow-routing-intake <devflow.devflow-routing-intake@kubernetes.us1.ddbuild.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog No changelog entry needed dependencies PRs that bump a dependency dependencies-go PRs that bump a go dependency internal Identify a non-fork PR medium review PR review might take time qa/no-code-change No code change in Agent code requiring validation team/agent-configuration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants